]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
animation: Finish porting to clutter transitions
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 9 Oct 2019 03:14:15 +0000 (05:14 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 10 Oct 2019 00:08:59 +0000 (02:08 +0200)
Animation when stopping the spinner was still using the old
parameters that not working, although if silently failing.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/758

js/ui/animation.js

index a1f257efcebee05ef4246f4e431c3861ac24938d..18c837e822ab6086f4208d122bb84104a34c9777 100644 (file)
@@ -167,8 +167,8 @@ var Spinner = class extends AnimatedIcon {
         if (this._animate) {
             this.actor.ease({
                 opacity: 0,
-                time: SPINNER_ANIMATION_TIME,
-                transition: 'linear',
+                duration: SPINNER_ANIMATION_TIME,
+                mode: Clutter.AnimationMode.LINEAR,
                 onComplete: () => super.stop()
             });
         } else {